package com.wfs.myapp.service;

import com.wfs.myapp.common.ApiResult;
import com.wfs.myapp.entity.dto.req.bk.SearchCollectionReqDto;
import com.wfs.myapp.entity.vo.OrderVo;
import com.wfs.myapp.entity.vo.SearchVo;

import java.util.List;

public interface BkSearchService {

    ApiResult<SearchVo> search(String name, Integer type);

    ApiResult<Void> searchCollection(SearchCollectionReqDto searchCollectionReqDto, Long userId);

    ApiResult<List<SearchVo.SearchItem>> getTopList(Integer type, int page, int size);

    ApiResult<List<OrderVo>> searchOrder(Long userId, Integer direction, String name);

}
